<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

  <c:import url="/view/include/header.jsp"/>
  <!-- end-->
  <div id="container_2">
    <dl class="top_img">
      <dd class="top_visuall_title">
        <p class="top_visuall_txt"><img src="/images/common/sub_titleimg_1.gif" alt="현대엘리베이터는 공정하고 투명한 기업문화 조성을 위해 상생의 경영방식을 추구합니다." width="497" height="64"/><a href="file:///C|/Users/ecg-youn/Downloads/noticeDetail.jsp"></a></p>
        <p class="top_visuall_txt_2"><img src="/images/common/sub_titleimg_2.gif" alt="" width="404" height="109"/></p>
      </dd>
    </dl>
    <div class="content"> 
      <!-- include start-->
      	  <s:if test="%{boardView.board_code.equals('BD301')}"><c:import url="/view/include/ethicLeft.jsp"/></s:if>
    	  <s:if test="%{boardView.board_code.equals('BD302')}"><c:import url="/view/include/complianceLeft.jsp"/></s:if>
   	      <s:if test="%{boardView.board_code.equals('BD303')}"><c:import url="/view/include/fairTradeLeft.jsp"/></s:if>
          <s:if test="%{boardView.board_code.equals('BD304')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
          <s:if test="%{boardView.board_code.equals('BD100')}"><c:import url="/view/include/noticeLeft.jsp"/></s:if>
      <!-- end-->
     <div class="sub_content">
        <dl class="ethic_title">
          <dd class="location"><img src="/images/common/home_img.gif" alt="집" width="15" height="15"/></dd>
          <dd class="location_txt">
          	<s:if test="%{boardView.board_code.equals('BD301')}" >HOME > 윤리경영 > 윤리경영 자료실</s:if>
  			<s:if test="%{boardView.board_code.equals('BD302')}" >HOME > 준법지원 > 준법지원 자료실</s:if>
			<s:if test="%{boardView.board_code.equals('BD303')}" >HOME > 공정거래 > 공정거래 자료실</s:if>
        	<s:if test="%{boardView.board_code.equals('BD304')}" >HOME > 업무지원 > 업무지원 자료실</s:if>
        	<s:if test="%{boardView.board_code.equals('BD100')}">HOME > 공지사항</s:if>
          </dd>
        </dl>
   		<dl class="img_ethic_box">
         <dd class="img_ethic">
         	<s:if test="%{boardView.board_code.equals('BD301')}"><img src="/images/ethic/ET_Archives.gif" alt="윤리경영 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD302')}"><img src="/images/compliance/CP_Archives.gif" alt="준법지원 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD303')}"><img src="/images/fairTrade/JT_Archives.gif" alt="공정거래 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD304')}"><img src="/images/work/SP_Archives.gif" alt="업무지원 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD100')}"><img src="/images/notic/notic.gif" alt="공지사항" width="166" height="23"/></s:if>
         </dd>
        </dl>
        <dl class="img_ethic_box_2">
          <dd class="img_ethic">
          	<s:if test="%{boardView.board_code.equals('BD301')}"><!--<img src="/images/ethic/ET_title_4.gif" alt="윤리경영 관한 각종 자료모음입니다." width="639" height="26"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD302')}"><!--<img src="/images/compliance/CP_title_1.gif" alt="준법지원 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD303')}"><!--<img src="/images/fairTrade/JT_title_3.gif" alt="공정거래 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD304')}"><!--<img src="/images/work/SP_title_3.gif" alt="공정거래 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
        </dd>
       </dl>
        <!-- 테이블코딩-->
        <dl class="qna_box">
          <dd>
          <form id="libModiFrm" name="libModiFrm" action="/board/boardModify.hcom" method="post" enctype="multipart/form-data">
          <input type="hidden" name="board_seq" value="${boardView.board_seq }"/>
          <input type="hidden" name="board_code" value="${boardView.board_code }"/>
          <input type="hidden" id="save_type" name="save_type" value="board" />
            <table cellspacing="0" cellpadding="0" summary="" class="write">
              <caption>
              </caption>
               <colgruop>
              <col width="13%">
              <col width="" >
              </colgruop>
              <thead>
                <tr>
                  <th>작성자</th>
                  <td>${boardView.mem_name }</td>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <th>제목</th>
                  <td><input type="text" name="title" style="width:450px;" value="${boardView.title }" class="f_gray5 border" title="제목입력" />
                    30자 이내로 작성</td>
                </tr>
                <tr>
                  <th>내용</th>
                  <td><textarea id="content" name="content" style="width:100%;height:300px;" title="내용입력" >${boardView.content }</textarea></td>
                </tr>
                <tr>
                  <th>첨부파일</th>
                  <td class="write_td2">
                  	<input type="hidden" name="file_path" value="${fileView.file_path}"/>
	                  	<s:if test="%{fileView.file_name1 != null}">
	                  		${fileView.file_name1}
	                  		<a href="/board/boarddeleteFile.hcom?attach_seq=${fileView.attach_seq1}&board_seq=${boardView.board_seq}&save_type=board&board_code=${boardView.board_code}"><img src="/images/common/btn_x.gif" alt="파일삭제"/></a>
	                  	</s:if>
	                  	<s:else>
	                  		<input type="text" id="file_name1" class="input" style="width:200px; height:14px;"  title="첨부파일" readonly="readonly"/>
	                  		<span class="file_input">
	                  		<input type="file" name="uploads" class="file_input_hidden" title="첨부파일" onchange="javascript: document.getElementById('file_name1').value = this.value" style="cursor: pointer;"/>
	                  		<img src="/images/common/btn_file.gif" alt="첨부파일" name="find" id="find" border="0" style="cursor: pointer;"/>10MB이내 첨부
	                  		</span>
	                  	</s:else>
	                  	<p>
                  		<s:if test="%{fileView.file_name2 != null}">
	                  		${fileView.file_name2}
	                  		<a href="/board/boarddeleteFile.hcom?attach_seq=${fileView.attach_seq2}&board_seq=${boardView.board_seq}&save_type=board&board_code=${boardView.board_code}"><img src="/images/common/btn_x.gif" alt="파일삭제"/></a>
               		   	</s:if>
               		   	<s:else>
               		   
	                  		<input type="text" id="file_name2" class="input" style="width:200px; height:14px;"  title="첨부파일" readonly="readonly"/>
	                  		<span class="file_input">
	                  		<input type="file" name="uploads" class="file_input_hidden" title="첨부파일" onchange="javascript: document.getElementById('file_name2').value = this.value" style="cursor: pointer;"/>
	                  		<img src="/images/common/btn_file.gif" alt="첨부파일" name="find" id="find" border="0" style="cursor: pointer;"/>10MB이내 첨부
	                  		</span>
						</s:else>
						</p>
						<p>
                  		<s:if test="%{fileView.file_name3 != null}">
	                  		${fileView.file_name3}
	                  		<a href="/board/boarddeleteFile.hcom?attach_seq=${fileView.attach_seq3}&board_seq=${boardView.board_seq}&save_type=board&board_code=${boardView.board_code}"><img src="/images/common/btn_x.gif" alt="파일삭제"/></a>
               		   	</s:if>
               		   	<s:else>
	                  		<input type="text" id="file_name3" class="input" style="width:200px; height:14px;"  title="첨부파일" readonly="readonly"/>
	                  		<span class="file_input">
	                  		<input type="file" name="uploads" class="file_input_hidden" title="첨부파일" onchange="javascript: document.getElementById('file_name3').value = this.value" style="cursor: pointer;"/>
	                  		<img src="/images/common/btn_file.gif" alt="첨부파일" name="find" id="find" border="0" style="cursor: pointer;"/>10MB이내 첨부
	                  		</span>
                  		</s:else>
                  		</p>
                  </td>
                </tr>
              </tbody>
            </table>
          </form>
          </dd>
          <dd class="W_center">
          	<img src="/images/common/btn_9.gif" id="btn_libModi" width="52" height="23" alt="수정" style="cursor: pointer;" />&nbsp;&nbsp;
          	<a href="/board/boardList.hcom?board_code=${boardView.board_code}"><img src="/images/common/btn_cencle.gif" width="52" height="23" alt="취소 목록으로 이동" /></a></dd>
          <dd class="height20">&nbsp;</dd>
        </dl>
      </div>
    </div>
  </div>
  <!-- contanier end--> 
</div>
<!-- footer start-->
<c:import url="/view/include/footer.jsp"/>
<!-- end-->

<script src="/js/qna.js"></script> 